p ="test=y1,name=u2,t=b3"
match = Regexp.compile('=([^=][^,])').match(p.downcase+",")
#puts match.length
#puts match[0]
#puts match[1]
[1...match.length].each{|x| puts match[x]}
#match.to_a().each{ |x| puts x}

